package com.hbue.water.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hbue.water.entity.Worker;

/**
 * @author yushu
 * @date 2021/12/24
 * @apiNate
 */
public interface WorkerService extends IService<Worker> {

    /**
     * 分页列表查询
     * @param currentPageNum 当前页数
     @pageSize 每页的数量
      * @return 分页结果
     */
    PageInfo<Worker> listWorker(int currentPageNum , int pageSize);

    int adjustSalary(Worker worker);

    PageInfo<Worker> searchCustomer(int currentPageNum, int pageSize, String searchCondition);
}
